# coding: utf-8
from . import db, BaseModel


class PptGen(BaseModel):
    __tablename__ = 'ppt_gen'

    auto_id = db.Column(db.Integer, primary_key=True, info='自增主键')
    gen_id = db.Column(db.String(20), info='PPT生成ID')
    ppt_id = db.Column(db.String(20), info='PPTID')
    template_id = db.Column(db.String(20), info='模板ID')
    location = db.Column(db.String(500), info='PPT保存地址')
    create_time = db.Column(db.DateTime, server_default=db.FetchedValue(), info='创建时间')
    update_time = db.Column(db.DateTime, server_default=db.FetchedValue(), info='更新时间')
    is_deleted = db.Column(db.Integer, server_default=db.FetchedValue(), info='是否删除')
